package cn.lyb;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@MapperScan("cn.lyb.mapper")
@SpringBootApplication
@EnableTransactionManagement
@EnableCaching
/**
 * 暴露代理类
 */
@EnableAspectJAutoProxy(exposeProxy = true)
/**
 * @author luckyman
 */
public class RedisHashCacheDemoBoot {
    public static void main(String[] args) {
        SpringApplication.run(RedisHashCacheDemoBoot.class, args);
    }
}
